package com.zck.thumbup.service;

import com.zck.thumbup.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zck.thumbup.model.BlogVO;
import jakarta.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhaochenkang
 * @since 2025-10-16
 */
public interface BlogService extends IService<Blog> {
    BlogVO getBlogVOById(long blogId, HttpServletRequest request);

    List<BlogVO> getBlogVOList(List<Blog> blogList, HttpServletRequest request);

    /**
     * 生成博客信息
     *
     * @param blog
     * @return
     */
    Boolean saveBlog(Blog blog,HttpServletRequest request);

}
